package com.eshanren.util;

import java.math.BigInteger;

/**
 * Created with IntelliJ IDEA.
 *
 * @author dj
 * Date: 2017/12/8
 * Time: 20:05
 */
public class NumberUtil {
    //10*5
    public final static BigInteger KV_B = new BigInteger("100000");

    //10*8
    public final static BigInteger BIT = new BigInteger("100000000");
    //10^18
    public final static BigInteger Wei = new BigInteger("1000000000000000000");
    //10^15 Kwei
    public final static BigInteger Babbage = new BigInteger("1000000000000000");
    //10^12 Mwei
    public final static BigInteger Lovelace = new BigInteger("1000000000000");
    //10^9 Gwei
    public final static BigInteger Shannon = new BigInteger("1000000000");
    //10^6 microether
    public final static BigInteger Szabo = new BigInteger("1000000");
    //10^3 milliether
    public final static BigInteger Finney = new BigInteger("1000");
    public final static BigInteger Ether = new BigInteger("1");
}
